<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:include="shared/css_js::header">
	<title>门 店</title>
	<link rel="stylesheet" type="text/css" href="/static/css/font-awesome.min.css"/>
	<link rel="stylesheet" type="text/css" href="/static/css/weuicss/weui.min.css"/>
	<link rel="stylesheet" type="text/css" href="/static/css/muicss/mui.css"/>
</head>

<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">服务顾问详情</h1>
	</header>
	<div class="mui-content">
		<div class="cyh_info">
			<img src="../img/my/user_kong.png" />
			<p style="text-align: center;color: black;font-size: 20px;margin-bottom: 10px" th:text="${serv.staffname}"></p>
			<p style="text-align: center;color: black;font-size: 18px" th:text="${serv.chnname}+' 普通顾问'"></p>
			<p style="text-align: center;color: black;font-size: 16px;margin-top: 10px">
				总订单 <span id="order" style="color: red;margin-right: 10px" th:text="${serv.num}"></span>|<span style="margin-left: 10px">总评价 </span><span id="com" style="color: red" th:text="${serv.com}"></span>
			</p>
		</div>

		<div class="weui-cells__title"></div>
		<ul class="mui-table-view">
			<li class="mui-table-view-divider">用户评价</li>
			<li th:each="com:${com}" class="mui-table-view-cell mui-media">
				<div>
					<img class="mui-media-object mui-pull-left" src="img/mendian/1.jpg" style="max-width:30px;height: 30px "/>
					<div class="mui-media-body">
						<p class="mui-pull-right" th:text="${#dates.format(com.createtime,'yyyy-MM-dd')}"></p>
						<span th:text="${com.custname}"></span>
						<p style="color: red" th:text="'评分:'+${com.commstar}"></p>
						<p style="color: black;font-size: 16px" th:text="${com.commcontent}"></p>
						<p>
							<span class="mui-pull-right" style="font-size: 12px" th:text="${com.servitemname}"></span> <span style="font-size: 12px;color: black" th:text="${com.cartypename}"></span>
						</p>
					</div>
				</div>
			</li>
		</ul>
	</div>


<link rel="stylesheet" type="text/css" th:href="@{/css/shopcss/shopserv.css}" />
<script>
    var com=$("#com").text();
    if(com==''||com==null){
        com='暂无';
    } else {
        var num=new Number(com);
        com=num.toFixed(2);
    }
    $("#com").text(com);
</script>

</body>

</html>